RM_PagBank\Helpers\Functions A

Total Complexity 69
Dependencies 10
Dependents 17
Total lines 569
Lines of code 367
Logical lines of code 151
Comment lines 122
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
validateDiscountValue()
A
51 11 25
getPagBankPendingOrders()
S
42 4 54
getExpiredPixOrders()
S
43 4 52
applyPriceAdjustment()
S
57 5 16
stringClear()
S
38 1 75
getFriendlyPaymentMethodName()
S
61 5 13
convertToKg()
S
57 4 18
formatDate()
S
61 4 12
isCalledByDoShortcode()
S
62 4 11
generic_notice_pagbank()
S
61 3 11
getParamFromOrderMetaOrPost()
S
65 3 9
isValidPixCode()
S
69 3 6
isCheckoutBlocks()
S
73 3 4
isCartflowCheckout()
S
70 3 6
decrypt()
S
62 3 10
encrypt()
S
64 2 9
addMetaQueryFilter()
S
65 2 9
getCcFlagUrl()
S
69 2 6
applyOrderPlaceholders()
S
61 1 11
isBlockCheckoutInUse()
S
71 1 5
log()
S
70 1 5